home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dorg2r.z / dorg2r
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDOOOORRRRGGGG2222RRRR((((3333SSSS))))                                                          DDDDOOOORRRRGGGG2222RRRR((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DORG2R - generate an m by n real matrix Q with orthonormal columns,
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE DORG2R( M, N, K, A, LDA, TAU, WORK, INFO )
  13.  
  14.          INTEGER        INFO, K, LDA, M, N
  15.  
  16.          DOUBLE         PRECISION A( LDA, * ), TAU( * ), WORK( * )
  17.  
  18. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  19.      These routines are part of the SCSL Scientific Library and can be loaded
  20.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  21.      directs the linker to use the multi-processor version of the library.
  22.  
  23.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  24.      4 bytes (32 bits). Another version of SCSL is available in which integers
  25.      are 8 bytes (64 bits).  This version allows the user access to larger
  26.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  27.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  28.      only one of the two versions; 4-byte integer and 8-byte integer library
  29.      calls cannot be mixed.
  30.  
  31. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  32.      DORG2R generates an m by n real matrix Q with orthonormal columns, which
  33.      is defined as the first n columns of a product of k elementary reflectors
  34.      of order m
  35.  
  36.            Q  =  H(1) H(2) . . . H(k)
  37.  
  38.      as returned by DGEQRF.
  39.  
  40.  
  41. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  42.      M       (input) INTEGER
  43.              The number of rows of the matrix Q. M >= 0.
  44.  
  45.      N       (input) INTEGER
  46.              The number of columns of the matrix Q. M >= N >= 0.
  47.  
  48.      K       (input) INTEGER
  49.              The number of elementary reflectors whose product defines the
  50.              matrix Q. N >= K >= 0.
  51.  
  52.      A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
  53.              On entry, the i-th column must contain the vector which defines
  54.              the elementary reflector H(i), for i = 1,2,...,k, as returned by
  55.              DGEQRF in the first k columns of its array argument A.  On exit,
  56.              the m-by-n matrix Q.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDOOOORRRRGGGG2222RRRR((((3333SSSS))))                                                          DDDDOOOORRRRGGGG2222RRRR((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDA     (input) INTEGER
  75.              The first dimension of the array A. LDA >= max(1,M).
  76.  
  77.      TAU     (input) DOUBLE PRECISION array, dimension (K)
  78.              TAU(i) must contain the scalar factor of the elementary reflector
  79.              H(i), as returned by DGEQRF.
  80.  
  81.      WORK    (workspace) DOUBLE PRECISION array, dimension (N)
  82.  
  83.      INFO    (output) INTEGER
  84.              = 0: successful exit
  85.              < 0: if INFO = -i, the i-th argument has an illegal value
  86.  
  87. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  88.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  89.  
  90.      This man page is available only online.
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.